package com.eden.manage.mapper;

import com.eden.manage.dto.agent.AgentProfitDto;
import com.eden.manage.model.EdenAgentProfitParam;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eden.manage.req.query.AgentProfitQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 98050
* @description 针对表【eden_agent_profit_param(平台商会员分润参数设置表)】的数据库操作Mapper
* @createDate 2023-11-25 14:58:01
* @Entity com.eden.manage.model.EdenPlatProfitParam
*/
public interface EdenAgentProfitParamMapper extends BaseMapper<EdenAgentProfitParam> {

    int countByPage(@Param("query") AgentProfitQuery profitQuery);

    List<AgentProfitDto> selectPageList(@Param("query") AgentProfitQuery profitQuery);

    int updateParam(@Param("param") AgentProfitDto agentProfitDto);
}




